package com.yuda.tools.downloadanswer.fegin;

import com.yuda.common.core.constant.ServiceNameConstants;
import com.yuda.common.core.web.page.TableDataInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 文件服务
 *
 * @author wyn
 */
@FeignClient(contextId = "remoteCheckAnswerService", value = ServiceNameConstants.CHECK_ANSWER_SERVICE)
public interface RemoteCheckAnswerService {

    @GetMapping("/checkAnswer/list")
    public TableDataInfo list(@RequestParam(value = "searchKey", required = false) String searchKey,
                              @RequestParam(value = "provinceIds", required = false) Integer[] provinceIds,
                              @RequestParam(value = "marked") Integer marked,
                              @RequestParam(value = "handle") Integer handle);

}
